package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.vo.RecordVo;

import java.util.List;

public interface IMemberReservationService extends IService<Reservation> {
    Integer getCancelledReservationCount(Long userId);

    RecordVo getReservationCountByTime(Long time);

    void add(Reservation reservation);

    List<Reservation> selectReservationList(Reservation reservation);

    void cancel(Long id);
}
